import { createApp } from "vue";
import { createPinia } from "pinia";

import App from "./App.vue";
import router from "./router";
import piniaPlug from 'pinia-plugin-persistedstate'
// 自己写的插件
import UI from '@/components/library'

import 'normalize.css'
import '@/assets/styles/common.less'
const app = createApp(App);
const pinia=createPinia()
pinia.use(piniaPlug)
app.use(pinia);
app.use(UI)
app.use(router);
app.mount("#app");
